import request from '@/utils/request'


export function equipmentCompletionDataAdd(data) { //
    return request({
        url: '/project-quality/api/fullLifeEnd/add',
        method: 'POST',
        data,
    })
}
export function equipmentCompletionDataEdit(data) { //
    return request({
        url: '/project-quality/api/fullLifeEnd/edit',
        method: 'POST',
        data,
    })
}
export function equipmentCompletionDataDelete(id) { //-删除
    return request({
        url: '/project-quality/api/fullLifeEnd/del/' + id,
        method: 'get',
    })
}
export function equipmentCompletionDataDetails(id) { //-详情
    return request({
        url: '/project-quality/api/fullLifeEnd/' + id,
        method: 'get',
    })
}
export function equipmentCompletionDataCateList(data) { //-分页
    return request({
        url: '/project-quality/api/fullLifeEnd/page',
        method: 'POST',
        data,
    })
}